﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace S.Organization.Domian.Model
{
    /// <summary>
    /// 栏位管理
    /// </summary>
    [Table("FieldSetting")]
    public class FieldSetting
    {
        /// <summary>
        /// 主键自增
        /// </summary>
        [Key]
        public int FieldId { get; set; }

        /// <summary>
        /// 栏位名称
        /// </summary>
        [StringLength(50)]
        public string? FieldName { get; set; }

        /// <summary>
        /// 所属栋舍
        /// </summary>
        public int CottageId { get; set; }
    }
}
